// pages/service/balance-record/index.js
// pages/service/withdraw-money/index.js
var app = getApp(), api = require('../../../../api.js');
Page({

  /**
   * 页面的初始数据
   */
  data: {
    data: [
      {
        
      },
    ]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    var that = this; 
    var uid = wx.getStorageSync('uid');
    var bid = wx.getStorageSync('bid');
    app.request({
      url: api.default.branklist,
      method: 'post',
      data: {
        uid: uid,
        bid:bid
      },
      success: function (e) {
        that.setData({
          data: e.data
        })
      }
    })
  },  
})